//
//  XZMsgBody.h
//  Teecloud
//
//  Created by PC on 2018/10/26.
//  Copyright © 2018年 小志. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XZUserInfo.h"
#import "XZAttachment.h"
NS_ASSUME_NONNULL_BEGIN

@interface XZMsgBody : NSObject
@property (nonatomic, copy) NSString *Id;//消息id
@property (nonatomic, strong) XZUserInfo *UserInfo;//发送消息用户信息
@property (nonatomic, strong) NSNumber *MsgType;//消息类别代码
@property (nonatomic, copy) NSString *MsgTypeName;//消息类别名称
//考核/点评方式 1评级 2评分[可选]
@property (nonatomic, strong) NSNumber *ValueType;

//考核/点评值
@property (nonatomic, copy) NSString *ValueGrade;
//考核人姓名
@property (nonatomic, copy) NSString *CheckName;
//发送时间
@property (nonatomic, copy) NSString *SendTime;
//点赞数量
@property (nonatomic, strong) NSNumber *LikeCount;
//是否已经点赞
@property (nonatomic, assign) BOOL IsLike;

//文本内容
@property (nonatomic, copy) NSString *Content;
//语音资源url列表
@property (nonatomic, copy) NSArray *VoiceList;
//图片或文件附近列表
@property (nonatomic, copy) NSArray *ImgFileList;
//关联资源附件（未关联资源时为null)
@property (nonatomic, strong) XZAttachment *Attachment;
@end

NS_ASSUME_NONNULL_END
